package cn.itcast.ssh.domain;

import java.util.*;

/**
 * @author xiongshiyan at 2021/3/16 , contact me with email yanshixiong@126.com or phone 15208384257
 */
public class Form {
    public static final String STATUS_RUNNING = "审批中";
    public static final String STATUS_APPROVED = "已通过";
    public static final String STATUS_REJECTED = "未通过";

    private Long id;
    private String title;
    private Date applyTime;
    private String path;
    private String status;

    private FormTemplate formTemplate;
    private Set<ApproveInfo> approveInfos = new HashSet<>();
    private Employee employee;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public FormTemplate getFormTemplate() {
        return formTemplate;
    }

    public void setFormTemplate(FormTemplate formTemplate) {
        this.formTemplate = formTemplate;
    }

    public Set<ApproveInfo> getApproveInfos() {
        return approveInfos;
    }

    public void setApproveInfos(Set<ApproveInfo> approveInfos) {
        this.approveInfos = approveInfos;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
